package org.jsola.contract.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.vo.BaseVO;

import java.util.Date;

import static org.jsola.contract.example.ContractExample.E_AGAIN_CONTRACT_ID;
import static org.jsola.contract.example.ContractExample.E_APP_IS_SHOW;
import static org.jsola.contract.example.ContractExample.E_CATEGORY_ID;
import static org.jsola.contract.example.ContractExample.E_CONTENT;
import static org.jsola.contract.example.ContractExample.E_CONTRACT_NO;
import static org.jsola.contract.example.ContractExample.E_CONTRACT_TYPE;
import static org.jsola.contract.example.ContractExample.E_DATELINE;
import static org.jsola.contract.example.ContractExample.E_EMP_SIGN_DATE;
import static org.jsola.contract.example.ContractExample.E_END_DATE;
import static org.jsola.contract.example.ContractExample.E_FILE_TYPE;
import static org.jsola.contract.example.ContractExample.E_IS_CHECK_FACE;
import static org.jsola.contract.example.ContractExample.E_IS_CHECK_SMS;
import static org.jsola.contract.example.ContractExample.E_IS_VIEW;
import static org.jsola.contract.example.ContractExample.E_NAME;
import static org.jsola.contract.example.ContractExample.E_NEED_INIT_AGAIN;
import static org.jsola.contract.example.ContractExample.E_PARTY_A_ACCOUNT_ID;
import static org.jsola.contract.example.ContractExample.E_PARTY_A_NAME;
import static org.jsola.contract.example.ContractExample.E_PARTY_B_ACCOUNT_ID;
import static org.jsola.contract.example.ContractExample.E_PARTY_B_NAME;
import static org.jsola.contract.example.ContractExample.E_PARTY_B_PHONE;
import static org.jsola.contract.example.ContractExample.E_PRICE;
import static org.jsola.contract.example.ContractExample.E_PUBLISH_DATE;
import static org.jsola.contract.example.ContractExample.E_SEAL_TYPE;
import static org.jsola.contract.example.ContractExample.E_SIGN_DATE;
import static org.jsola.contract.example.ContractExample.E_SIGN_FINISH_DATE;
import static org.jsola.contract.example.ContractExample.E_SIGN_NO;
import static org.jsola.contract.example.ContractExample.E_STATUS;
import static org.jsola.contract.example.ContractExample.E_SUBJECT_ID;
import static org.jsola.contract.example.ContractExample.E_TEMPLATE_ID;
import static org.jsola.contract.example.ContractExample.N_AGAIN_CONTRACT_ID;
import static org.jsola.contract.example.ContractExample.N_APP_IS_SHOW;
import static org.jsola.contract.example.ContractExample.N_CATEGORY_ID;
import static org.jsola.contract.example.ContractExample.N_CONTENT;
import static org.jsola.contract.example.ContractExample.N_CONTRACT_NO;
import static org.jsola.contract.example.ContractExample.N_CONTRACT_TYPE;
import static org.jsola.contract.example.ContractExample.N_DATELINE;
import static org.jsola.contract.example.ContractExample.N_EMP_SIGN_DATE;
import static org.jsola.contract.example.ContractExample.N_END_DATE;
import static org.jsola.contract.example.ContractExample.N_FILE_TYPE;
import static org.jsola.contract.example.ContractExample.N_IS_CHECK_FACE;
import static org.jsola.contract.example.ContractExample.N_IS_CHECK_SMS;
import static org.jsola.contract.example.ContractExample.N_IS_VIEW;
import static org.jsola.contract.example.ContractExample.N_NAME;
import static org.jsola.contract.example.ContractExample.N_NEED_INIT_AGAIN;
import static org.jsola.contract.example.ContractExample.N_PARTY_A_ACCOUNT_ID;
import static org.jsola.contract.example.ContractExample.N_PARTY_A_NAME;
import static org.jsola.contract.example.ContractExample.N_PARTY_B_ACCOUNT_ID;
import static org.jsola.contract.example.ContractExample.N_PARTY_B_NAME;
import static org.jsola.contract.example.ContractExample.N_PARTY_B_PHONE;
import static org.jsola.contract.example.ContractExample.N_PRICE;
import static org.jsola.contract.example.ContractExample.N_PUBLISH_DATE;
import static org.jsola.contract.example.ContractExample.N_SEAL_TYPE;
import static org.jsola.contract.example.ContractExample.N_SIGN_DATE;
import static org.jsola.contract.example.ContractExample.N_SIGN_FINISH_DATE;
import static org.jsola.contract.example.ContractExample.N_SIGN_NO;
import static org.jsola.contract.example.ContractExample.N_STATUS;
import static org.jsola.contract.example.ContractExample.N_SUBJECT_ID;
import static org.jsola.contract.example.ContractExample.N_TEMPLATE_ID;
import static org.jsola.core.example.BaseExample.E_GMT_CREATE;
import static org.jsola.core.example.BaseExample.E_GMT_MODIFIED;
import static org.jsola.core.example.BaseExample.E_ID;
import static org.jsola.core.example.BaseExample.N_GMT_CREATE;
import static org.jsola.core.example.BaseExample.N_GMT_MODIFIED;
import static org.jsola.core.example.BaseExample.N_ID;

/**
 * 合同
 *
 * @author JanusMix
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "【合同】详情展示对象")
@Data
public class ContractVO extends BaseVO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = N_ID, example = E_ID)
    private Long id;

    @ApiModelProperty(notes = N_CATEGORY_ID, example = E_CATEGORY_ID)
    private Long categoryId;

    @ApiModelProperty(notes = N_TEMPLATE_ID, example = E_TEMPLATE_ID)
    private Long templateId;

    @ApiModelProperty(notes = N_CONTRACT_NO, example = E_CONTRACT_NO)
    private String contractNo;

    @ApiModelProperty(notes = N_SIGN_NO, example = E_SIGN_NO)
    private String signNo;

    @ApiModelProperty(notes = N_SUBJECT_ID, example = E_SUBJECT_ID)
    private String subjectId;

    @ApiModelProperty(notes = N_NAME, example = E_NAME)
    private String name;

    @ApiModelProperty(notes = N_SEAL_TYPE, example = E_SEAL_TYPE)
    private String sealType;

    @ApiModelProperty(notes = N_CONTRACT_TYPE, example = E_CONTRACT_TYPE)
    private Integer contractType;

    @ApiModelProperty(notes = N_PUBLISH_DATE, example = E_PUBLISH_DATE)
    private Date publishDate;

    @ApiModelProperty(notes = N_SIGN_DATE, example = E_SIGN_DATE)
    private Date signDate;

    @ApiModelProperty(notes = N_END_DATE, example = E_END_DATE)
    private Date endDate;

    @ApiModelProperty(notes = N_EMP_SIGN_DATE, example = E_EMP_SIGN_DATE)
    private Date empSignDate;

    @ApiModelProperty(notes = N_SIGN_FINISH_DATE, example = E_SIGN_FINISH_DATE)
    private Date signFinishDate;

    @ApiModelProperty(notes = N_PARTY_A_ACCOUNT_ID, example = E_PARTY_A_ACCOUNT_ID)
    private String partyAAccountId;

    @ApiModelProperty(notes = N_PARTY_A_NAME, example = E_PARTY_A_NAME)
    private String partyAName;

    @ApiModelProperty(notes = N_PARTY_B_ACCOUNT_ID, example = E_PARTY_B_ACCOUNT_ID)
    private String partyBAccountId;

    @ApiModelProperty(notes = N_PARTY_B_NAME, example = E_PARTY_B_NAME)
    private String partyBName;

    @ApiModelProperty(notes = N_PARTY_B_PHONE, example = E_PARTY_B_PHONE)
    private String partyBPhone;

    @ApiModelProperty(notes = N_PRICE, example = E_PRICE)
    private Long price;

    @ApiModelProperty(notes = N_STATUS, example = E_STATUS)
    private Integer status;

    @ApiModelProperty(notes = N_DATELINE, example = E_DATELINE)
    private Integer dateline;

    @ApiModelProperty(notes = N_FILE_TYPE, example = E_FILE_TYPE)
    private String fileType;

    @ApiModelProperty(notes = N_CONTENT, example = E_CONTENT)
    private String content;

    @ApiModelProperty(notes = N_NEED_INIT_AGAIN, example = E_NEED_INIT_AGAIN)
    private Boolean needInitAgain;

    @ApiModelProperty(notes = N_AGAIN_CONTRACT_ID, example = E_AGAIN_CONTRACT_ID)
    private Long againContractId;

    @ApiModelProperty(notes = N_APP_IS_SHOW, example = E_APP_IS_SHOW)
    private Boolean appIsShow;

    @ApiModelProperty(notes = N_IS_CHECK_FACE, example = E_IS_CHECK_FACE)
    private Boolean isCheckFace;

    @ApiModelProperty(notes = N_IS_CHECK_SMS, example = E_IS_CHECK_SMS)
    private Boolean isCheckSms;

    @ApiModelProperty(notes = N_IS_VIEW, example = E_IS_VIEW)
    private Boolean isView;

    @ApiModelProperty(notes = N_GMT_CREATE, example = E_GMT_CREATE)
    private Date gmtCreate;

    @ApiModelProperty(notes = N_GMT_MODIFIED, example = E_GMT_MODIFIED)
    private Date gmtModified;


    @ApiModelProperty(notes = org.jsola.contract.example.CategoryExample.N_NAME, example = org.jsola.contract.example.CategoryExample.E_NAME)
    private String contractCategoryName;

    @ApiModelProperty(notes = "用户Id")
    private String memberId;


    @ApiModelProperty(notes = "pdf路径")
    private String pdfFilePath;

}

